package com.mspbots.attendance.model;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class TriggerEventDTO implements Serializable {

    private Long tenantId;
    private LocalDateTime timestamp;
    private String eventName;
    private String scope;
    private JsonNode payload;
    private JsonNode userInfo;

    public TriggerEventDTO() {
        this.timestamp = LocalDateTime.now();
    }

}